package com.qzdsoft.erpcloud.service.sys.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.qzdsoft.erpcloud.mapper.sys.SysUserAgentMapper;
import com.qzdsoft.erpcloud.service.sys.SysUserAgentService;

/**
 * Created by Admin
 */
@Service
public class SysUserAgentServiceImpl implements SysUserAgentService {

    @Autowired
    private SysUserAgentMapper sysUserAgentMapper;

    @Override
    public Integer selectDataCount(String name, String phone, String accountName) {
        return sysUserAgentMapper.selectDataCount(name, phone, accountName);
    }

    @Override
    public List<Map<String, Object>> selectData(String name, String phone, String accountName, Integer start, Integer pageSize) {
        return sysUserAgentMapper.selectData(name, phone, accountName, start, pageSize);
    }
}
